package com.jy.qnbbs.dao;


import com.jy.qnbbs.entity.BbsDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BbsDetailDao {

    int saveBbsDetail(BbsDetail bbsDetail);

    List<BbsDetail> findBbsDetailBySortId(@Param("sortId") int sortId);

    int checkTitle(@Param("title") String title);

}
